#include "LivingObject.h"
#include "ObjectTypes.h"

LivingObject::LivingObject()
{
	setObjectType(LIVING_OBJECT);
	isDead = false;
	isAttacking = false;
	startAttacking = false;
}


const std::string& LivingObject::getName()
{
	return name;
}


void LivingObject::setName(const std::string& passedName)
{
	name = passedName;
}


bool LivingObject::getIsDead()
{
	return isDead;
}

void LivingObject::setIsDead(bool passedIsDead)
{
	isDead = passedIsDead;
}


bool LivingObject::getIsAttacking()
{
	return isAttacking;
}

void LivingObject::setIsAttacking(bool passedIsAttacking)
{
	isAttacking = passedIsAttacking;
}

bool LivingObject::getStartAttacking()
{
	return startAttacking;
}

void LivingObject::setStartAttacking(bool passedStartAttacking)
{
	startAttacking = passedStartAttacking;
}